package com.keba.lamp.ai.vo.update;

import com.keba.basic.base.entity.SuperEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 表单修改方法VO
 * ai调用记录文件表
 * </p>
 *
 * @author twg
 * @date 2025-03-22 13:46:34
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Builder
@Schema(description = "ai调用记录文件表")
public class AiInvokeFileUpdateVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @NotNull(message = "请填写主键", groups = SuperEntity.Update.class)
    private Long id;

    /**
     * 乐观锁
     */
    @Schema(description = "乐观锁")
    @NotNull(message = "请填写乐观锁")
    private Integer revision;
    /**
     * 是否删除，0-未删除，1-删除
     */
    @Schema(description = "是否删除，0-未删除，1-删除")
    @NotNull(message = "请填写是否删除，0-未删除，1-删除")
    private Integer isDel;
    /**
     * 关联调用记录
     */
    @Schema(description = "关联调用记录")
    @NotNull(message = "请填写关联调用记录")
    private Long invokeRecordId;
    /**
     * 内容;用户自定义提问内容/附件地址（多个附件逗号分隔）
     */
    @Schema(description = "内容")
    @Size(max = 1000, message = "内容长度不能超过{max}")
    private String content;
    /**
     * 类型;（用户自定义提问内容：text,image_url,audio_url)
     */
    @Schema(description = "类型")
    @Size(max = 50, message = "类型长度不能超过{max}")
    private String type;


}
